package com.cashmama.market.api.domain.enums;

/**
 * Created by linchengyu on 17/3/15.
 */
public enum UserProfileActionStatusEnum {

    FREE_AUTHORIZED(-1, "Done"),//Non Authentication
    NOT_AUTHORIZED(0, "Unverified"),//Unauthorized
    AUTHORIZED(1, "Done"),//Authorized
    AUTHORIZATION_EXPIRED(2, "Certification Overdue"),
    NOT_FILLED(3, "Unverified"),//Unfilled
    FILLED(4, "Done"),//Filled
    FROZEN(5, "Frozen"),
    RE_UPLOAD(6, "Re-upload"),
    RE_EDIT(7, "Re-edit"),
    IN_PROCESSING(8, "In-processing"),
    FAILED(9, "Validation failed");

    private Integer code;

    private String desc;

    UserProfileActionStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public UserProfileActionStatusEnum setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public UserProfileActionStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
